<template>
  <div class="levelChoose">
    <ZgEdit
      ref="dialog"
      :view="view"
      :columns="columns"
      :formulas="formulas"
      :validUrl="validUrl"
      :saveUrl="saveUrl"
      @ok="$emit('ok')"
    >
    </ZgEdit>
  </div>
</template>
<script>
const enterpriseLevelArr = []
export default {
  data() {
    return {
      view: { top: '5%', width: '25%', title: '级别' },
      columns: [
        {
          code: 'levelName',
          span: 24,
          isNeed: true,
          name: '级别选择',
          compType: '下拉选择',
          defaultVal: '',
          extra: { 下拉选项: enterpriseLevelArr }
        }
      ],
      formulas: [],
      validUrl: '',
      saveUrl: ''
    }
  },
  components: {},
  computed: {},
  methods: {
    open() {
      this.$refs.dialog.open()
    }
  },
  created() {},
  mounted() {}
}
</script>
<style lang="less" scoped></style>
